/************************************************************************************
 * @File name   :      DMSConstant.java
 *
 * @Author      :      caijunyi
 *
 * @Date        :      2011-1-26
 *
 * @Copyright Notice: 
 * Copyright (c) 2014 DMS, Inc. All  Rights Reserved.
 * This software is published under the terms of the DMS Software
 * License version 1.0, a copy of which has been included with this
 * distribution in the LICENSE.txt file.
 * 
 * 
 * ----------------------------------------------------------------------------------
 * Date								Who					Version				Comments
 * 2011-1-26 下午04:38:41			caijunyi			1.0				Initial Version
 ************************************************************************************/
package com.cap.bts.framework.workbench.constant;

/**
 * This interface contains the constant.
 */
public interface WorkbenchConstant {
	
	public static final String LOGIN_PAGE = "workbench/login";
	public static final String INEX_PAGE = "workbench/index";
	public static final String LOGIN_PAGE_URL = "/login";
	public static final String LOGOUT_PAGE_URL = "/logout";
	// error message key
    public static final String NAME_PWD_ERROR_KEY = "user.name.pwd.wrong";
    public static final String NAME_PASSWORD_NOT_EMP="NotEmpty.loginDto.name.passwd";
    public static final String NOTEMPTY_LOGINDTO_NAME ="NotEmpty.loginDto.name";
    public static final String NOTEMPTY_LOGINDTO_PASSWD ="NotEmpty.loginDto.passwd";
    public static final String ACCOUNT_LOCK ="user.lock";
    public static final String ACCOUNT_EXPIRE="user.expire";
    public static final String PASSWORD_MAX_CORRECT="user.password.max.correct";
    public static final String PASSWORD_CORRECT_TIMES="user.password.correct.times";
    public static final String URI_STRING = "uriString";
    public static final String QUERY_STRING = "queryString";
    public static final String PREVIOUS_URL = "previousurl";
    public static final String PASSWORD_NOT_UPDATE="user.password.not.update";
    public static final String USER_STATUS_NOT_ACTIVE="user.status.not.active";
    public static final String DTO_VALIDATOR_LENGTH="dto.validator.length";
    public static final String USER_ACCOUNT_FORBIDDEN="user.account.forbidden";
    public static final String EXIST_USER_ACCOUNT="user.account.information";
}
